{if $configinfo.langok == 1}
<style>
/*多语言切换*/
#languge ul{ list-style:none; margin:0; padding:0;}
#languge{ margin:10px 0px 20px 0; float:left; height:37px; overflow:hidden; border-bottom:1px solid #ccc; font-size:12px;}
#langlist li{ float:left; background:url(/plugins/modulepara/configdata/images/bglang.gif) no-repeat; width:105px; height:37px; text-align:left;}
#langlist a.lang{ float:left; color:#57585A; height:37px; line-height:37px; width:67px; padding:0 0 0 38px; text-decoration:none;}
#langlist a.lang:hover{ text-decoration:none; }
#langlist li.onlang{ background:url(/plugins/modulepara/configdata/images/onlang.gif) no-repeat;}
#langlist li.onlang a.lang{ font-weight:bold;}
</style>
<div id="languge">
  <ul id="langlist">
  	{foreach from=$configinfo.langall key=key item=lang}
    <li class="{if $key == $smarty.get.lang || ($smarty.get.lang == '' && $key == $configinfo.langdefault)}onlang{/if}"><a class="lang" href="goods.php?act=list&lang={$key}" title="{$lang}">{$lang}</a></li>
    {/foreach}
  </ul>
</div>
<div style="clear:both"></div>
{/if}